#!/usr/bin/env python
# -*- coding: utf-8 -*-
#coding=utf8

# 本文件由自动工具 proto.py 自动生成，请勿修改
# filename msg19000_csbuf.py
# package ptl

from ptl.base_csbuf import *


# message Req19001
class Req19001:
	def __init__(self):
		self.protoid = 19001
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19001
class Resp19001:
	def __init__(self):
		self.protoid = 19001
		self.status = 0
		self.guildInfo = GuildItem()
		self.members = []
		self.builds = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()
		countmembers = len(self.members)
		writer.setArray(countmembers, 3)
		for i in range(countmembers):
			writer.setMessage(0)
			self.members[i].Marshal(writer)
			writer.endSetMessage()
		countbuilds = len(self.builds)
		writer.setArray(countbuilds, 4)
		for i in range(countbuilds):
			writer.setMessage(0)
			self.builds[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
		for i in range(reader.getArray(3)):
			msg = GuildMemeberItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.members.append(msg)
		for i in range(reader.getArray(4)):
			msg = GuildBuildItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.builds.append(msg)
# message Req19002
class Req19002:
	def __init__(self):
		self.protoid = 19002
		self.name = ""
		self.sortL = 0
		self.sortR = 0

	def Marshal(writer):
		writer.setString(self.name, 1)
		writer.setUint32(self.sortL, 2)
		writer.setUint32(self.sortR, 3)

	def Unmarshal( reader):
		self.name = reader.getString(1)
		self.sortL = reader.getUint32(2)
		self.sortR = reader.getUint32(3)
# message Resp19002
class Resp19002:
	def __init__(self):
		self.protoid = 19002
		self.status = 0
		self.guild = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countguild = len(self.guild)
		writer.setArray(countguild, 2)
		for i in range(countguild):
			writer.setMessage(0)
			self.guild[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = GuildItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.guild.append(msg)
# message Req19003
class Req19003:
	def __init__(self):
		self.protoid = 19003
		self.name = ""

	def Marshal(writer):
		writer.setString(self.name, 1)

	def Unmarshal( reader):
		self.name = reader.getString(1)
# message Resp19003
class Resp19003:
	def __init__(self):
		self.protoid = 19003
		self.status = 0
		self.guildInfo = GuildItem()
		self.members = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()
		countmembers = len(self.members)
		writer.setArray(countmembers, 3)
		for i in range(countmembers):
			writer.setMessage(0)
			self.members[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
		for i in range(reader.getArray(3)):
			msg = GuildMemeberItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.members.append(msg)
# message Req19004
class Req19004:
	def __init__(self):
		self.protoid = 19004
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19004
class Resp19004:
	def __init__(self):
		self.protoid = 19004
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Resp19005
class Resp19005:
	def __init__(self):
		self.protoid = 19005
		self.list = []

	def Marshal(writer):
		countlist = len(self.list)
		writer.setArray(countlist, 1)
		for i in range(countlist):
			writer.setMessage(0)
			self.list[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		for i in range(reader.getArray(1)):
			msg = ChatInfo() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.list.append(msg)
# message Req19006
class Req19006:
	def __init__(self):
		self.protoid = 19006
		self.guildId = 0
		self.sortL = 0
		self.sortR = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setUint32(self.sortL, 2)
		writer.setUint32(self.sortR, 3)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.sortL = reader.getUint32(2)
		self.sortR = reader.getUint32(3)
# message Resp19006
class Resp19006:
	def __init__(self):
		self.protoid = 19006
		self.status = 0
		self.joins = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countjoins = len(self.joins)
		writer.setArray(countjoins, 2)
		for i in range(countjoins):
			writer.setMessage(0)
			self.joins[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = GuildJoinItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.joins.append(msg)
# message Req19007
class Req19007:
	def __init__(self):
		self.protoid = 19007
		self.name = ""
		self.guildId = 0

	def Marshal(writer):
		writer.setString(self.name, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.name = reader.getString(1)
		self.guildId = reader.getUint32(2)
# message Resp19007
class Resp19007:
	def __init__(self):
		self.protoid = 19007
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Req19008
class Req19008:
	def __init__(self):
		self.protoid = 19008
		self.playerId = 0
		self.guildId = 0
		self.attr = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)
		writer.setUint8(self.attr, 3)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
		self.attr = reader.getUint8(3)
# message Resp19008
class Resp19008:
	def __init__(self):
		self.protoid = 19008
		self.status = 0
		self.playerId = 0
		self.attr = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setUint32(self.playerId, 2)
		writer.setUint8(self.attr, 3)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		self.playerId = reader.getUint32(2)
		self.attr = reader.getUint8(3)
# message Req19009
class Req19009:
	def __init__(self):
		self.protoid = 19009
		self.playerId = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
# message Resp19009
class Resp19009:
	def __init__(self):
		self.protoid = 19009
		self.status = 0
		self.member = GuildMemeberItem()

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.member.Marshal(writer)
		writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.member.Unmarshal(reader)
		reader.endGetMessage()
# message Req19010
class Req19010:
	def __init__(self):
		self.protoid = 19010
		self.playerId = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
# message Resp19010
class Resp19010:
	def __init__(self):
		self.protoid = 19010
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Req19011
class Req19011:
	def __init__(self):
		self.protoid = 19011
		self.guildId = 0
		self.level_limit = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setUint32(self.level_limit, 2)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.level_limit = reader.getUint32(2)
# message Resp19011
class Resp19011:
	def __init__(self):
		self.protoid = 19011
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Req19012
class Req19012:
	def __init__(self):
		self.protoid = 19012
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19012
class Resp19012:
	def __init__(self):
		self.protoid = 19012
		self.status = 0
		self.guildInfo = GuildItem()
		self.members = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()
		countmembers = len(self.members)
		writer.setArray(countmembers, 3)
		for i in range(countmembers):
			writer.setMessage(0)
			self.members[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
		for i in range(reader.getArray(3)):
			msg = GuildMemeberItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.members.append(msg)
# message Req19013
class Req19013:
	def __init__(self):
		self.protoid = 19013
		self.op = 0
		self.id = ""

	def Marshal(writer):
		writer.setUint8(self.op, 1)
		writer.setString(self.id, 2)

	def Unmarshal( reader):
		self.op = reader.getUint8(1)
		self.id = reader.getString(2)
# message Resp19013
class Resp19013:
	def __init__(self):
		self.protoid = 19013
		self.list = []

	def Marshal(writer):
		countlist = len(self.list)
		writer.setArray(countlist, 1)
		for i in range(countlist):
			writer.setMessage(0)
			self.list[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		for i in range(reader.getArray(1)):
			msg = ChatInfo() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.list.append(msg)
# message Req19014
class Req19014:
	def __init__(self):
		self.protoid = 19014
		self.sortL = 0
		self.sortR = 0

	def Marshal(writer):
		writer.setUint32(self.sortL, 1)
		writer.setUint32(self.sortR, 2)

	def Unmarshal( reader):
		self.sortL = reader.getUint32(1)
		self.sortR = reader.getUint32(2)
# message Resp19014
class Resp19014:
	def __init__(self):
		self.protoid = 19014
		self.status = 0
		self.guilds = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countguilds = len(self.guilds)
		writer.setArray(countguilds, 2)
		for i in range(countguilds):
			writer.setMessage(0)
			self.guilds[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = GuildItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.guilds.append(msg)
# message Resp19015
class Resp19015:
	def __init__(self):
		self.protoid = 19015
		self.list = []

	def Marshal(writer):
		countlist = len(self.list)
		writer.setArray(countlist, 1)
		for i in range(countlist):
			writer.setMessage(0)
			self.list[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		for i in range(reader.getArray(1)):
			msg = ChatInfo() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.list.append(msg)
# message Req19016
class Req19016:
	def __init__(self):
		self.protoid = 19016
		self.kickPlayerId = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.kickPlayerId, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.kickPlayerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
# message Resp19016
class Resp19016:
	def __init__(self):
		self.protoid = 19016
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Resp19017
class Resp19017:
	def __init__(self):
		self.protoid = 19017
		self.name = ""
		self.guildName = ""

	def Marshal(writer):
		writer.setString(self.name, 1)
		writer.setString(self.guildName, 2)

	def Unmarshal( reader):
		self.name = reader.getString(1)
		self.guildName = reader.getString(2)
# message Req19018
class Req19018:
	def __init__(self):
		self.protoid = 19018
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19018
class Resp19018:
	def __init__(self):
		self.protoid = 19018
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Req19019
class Req19019:
	def __init__(self):
		self.protoid = 19019
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19019
class Resp19019:
	def __init__(self):
		self.protoid = 19019
		self.status = 0
		self.guildInfo = GuildItem()
		self.builds = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()
		countbuilds = len(self.builds)
		writer.setArray(countbuilds, 3)
		for i in range(countbuilds):
			writer.setMessage(0)
			self.builds[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
		for i in range(reader.getArray(3)):
			msg = GuildBuildItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.builds.append(msg)
# message Req19020
class Req19020:
	def __init__(self):
		self.protoid = 19020
		self.guildId = 0
		self.placard = ""

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setString(self.placard, 2)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.placard = reader.getString(2)
# message Resp19020
class Resp19020:
	def __init__(self):
		self.protoid = 19020
		self.status = 0
		self.guildInfo = GuildItem()

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
# message Req19021
class Req19021:
	def __init__(self):
		self.protoid = 19021
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19021
class Resp19021:
	def __init__(self):
		self.protoid = 19021
		self.status = 0
		self.items = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countitems = len(self.items)
		writer.setArray(countitems, 2)
		for i in range(countitems):
			writer.setMessage(0)
			self.items[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = GuildEventItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.items.append(msg)
# message Req19022
class Req19022:
	def __init__(self):
		self.protoid = 19022
		self.guildId = 0
		self.iconId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setUint32(self.iconId, 2)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.iconId = reader.getUint32(2)
# message Resp19022
class Resp19022:
	def __init__(self):
		self.protoid = 19022
		self.status = 0
		self.guildInfo = GuildItem()

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setMessage(2)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		reader.getMessage(2)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
# message Req19030
class Req19030:
	def __init__(self):
		self.protoid = 19030
		self.guildId = 0
		self.item_pid = 0
		self.count = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setUint32(self.item_pid, 2)
		writer.setUint32(self.count, 3)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.item_pid = reader.getUint32(2)
		self.count = reader.getUint32(3)
# message Resp19030
class Resp19030:
	def __init__(self):
		self.protoid = 19030
		self.status = 0
		self.times = 0
		self.today = 0
		self.total = 0
		self.item_pid = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setUint32(self.times, 2)
		writer.setUint32(self.today, 3)
		writer.setUint32(self.total, 4)
		writer.setUint32(self.item_pid, 5)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		self.times = reader.getUint32(2)
		self.today = reader.getUint32(3)
		self.total = reader.getUint32(4)
		self.item_pid = reader.getUint32(5)
# message Req19031
class Req19031:
	def __init__(self):
		self.protoid = 19031
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resp19031
class Resp19031:
	def __init__(self):
		self.protoid = 19031
		self.status = 0
		self.items = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countitems = len(self.items)
		writer.setArray(countitems, 2)
		for i in range(countitems):
			writer.setMessage(0)
			self.items[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = MoreHeroItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.items.append(msg)
# message Req19032
class Req19032:
	def __init__(self):
		self.protoid = 19032
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
# message Resq19032
class Resq19032:
	def __init__(self):
		self.protoid = 19032
		self.status = 0
		self.today = 0
		self.total = 0
		self.items = []

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setUint32(self.today, 2)
		writer.setUint32(self.total, 3)
		countitems = len(self.items)
		writer.setArray(countitems, 4)
		for i in range(countitems):
			writer.setMessage(0)
			self.items[i].Marshal(writer)
			writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		self.today = reader.getUint32(2)
		self.total = reader.getUint32(3)
		for i in range(reader.getArray(4)):
			msg = GuildDonateItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.items.append(msg)
# message Req19033
class Req19033:
	def __init__(self):
		self.protoid = 19033
		self.id = 0
		self.level = 0

	def Marshal(writer):
		writer.setUint32(self.id, 1)
		writer.setUint32(self.level, 2)

	def Unmarshal( reader):
		self.id = reader.getUint32(1)
		self.level = reader.getUint32(2)
# message Resp19033
class Resp19033:
	def __init__(self):
		self.protoid = 19033
		self.status = 0
		self.perLimit = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		writer.setUint32(self.perLimit, 2)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		self.perLimit = reader.getUint32(2)
# message Req19034
class Req19034:
	def __init__(self):
		self.protoid = 19034
		self.id = 0
		self.count = 0
		self.level = 0

	def Marshal(writer):
		writer.setUint32(self.id, 1)
		writer.setUint32(self.count, 2)
		writer.setUint32(self.level, 3)

	def Unmarshal( reader):
		self.id = reader.getUint32(1)
		self.count = reader.getUint32(2)
		self.level = reader.getUint32(3)
# message Resp19034
class Resp19034:
	def __init__(self):
		self.protoid = 19034
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.status, 1)

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
# message Req19040
class Req19040:
	def __init__(self):
		self.protoid = 19040
		self.guildId = 0
		self.buildId = 0

	def Marshal(writer):
		writer.setUint32(self.guildId, 1)
		writer.setUint32(self.buildId, 2)

	def Unmarshal( reader):
		self.guildId = reader.getUint32(1)
		self.buildId = reader.getUint32(2)
# message Resp19040
class Resp19040:
	def __init__(self):
		self.protoid = 19040
		self.status = 0
		self.builds = []
		self.guildInfo = GuildItem()

	def Marshal(writer):
		writer.setUint32(self.status, 1)
		countbuilds = len(self.builds)
		writer.setArray(countbuilds, 2)
		for i in range(countbuilds):
			writer.setMessage(0)
			self.builds[i].Marshal(writer)
			writer.endSetMessage()
		writer.setMessage(3)
		self.guildInfo.Marshal(writer)
		writer.endSetMessage()

	def Unmarshal( reader):
		self.status = reader.getUint32(1)
		for i in range(reader.getArray(2)):
			msg = GuildBuildItem() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.builds.append(msg)
		reader.getMessage(3)
		self.guildInfo.Unmarshal(reader)
		reader.endGetMessage()
# message Req19050
class Req19050:
	def __init__(self):
		self.protoid = 19050
		self.playerId = 0
		self.level = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.level, 2)
		writer.setUint32(self.guildId, 3)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.level = reader.getUint32(2)
		self.guildId = reader.getUint32(3)
# message Resp19050
class Resp19050:
	def __init__(self):
		self.protoid = 19050
		self.playerId = 0
		self.status = 0
		self.level = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.status, 2)
		writer.setUint32(self.level, 3)
		writer.setUint32(self.guildId, 4)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.status = reader.getUint32(2)
		self.level = reader.getUint32(3)
		self.guildId = reader.getUint32(4)
# message Req19051
class Req19051:
	def __init__(self):
		self.protoid = 19051
		self.playerId = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
# message Resp19051
class Resp19051:
	def __init__(self):
		self.protoid = 19051
		self.playerId = 0
		self.level = 0
		self.guildTasks = []
		self.createTime = 0
		self.finishT = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.level, 2)
		countguildTasks = len(self.guildTasks)
		writer.setArray(countguildTasks, 3)
		for i in range(countguildTasks):
			writer.setMessage(0)
			self.guildTasks[i].Marshal(writer)
			writer.endSetMessage()
		writer.setUint32(self.createTime, 4)
		writer.setUint32(self.finishT, 5)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.level = reader.getUint32(2)
		for i in range(reader.getArray(3)):
			msg = GuildTask() 
			reader.getMessage(0)
			msg.Unmarshal(reader)
			reader.endGetMessage()
			self.guildTasks.append(msg)
		self.createTime = reader.getUint32(4)
		self.finishT = reader.getUint32(5)
# message Req19052
class Req19052:
	def __init__(self):
		self.protoid = 19052
		self.playerId = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
# message Resp19052
class Resp19052:
	def __init__(self):
		self.protoid = 19052
		self.playerId = 0
		self.status = 0
		self.id = 0
		self.bAllFinish = 0
		self.level = 0
		self.guildId = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.status, 2)
		writer.setUint32(self.id, 3)
		writer.setBool(self.bAllFinish, 4)
		writer.setUint32(self.level, 5)
		writer.setUint32(self.guildId, 6)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.status = reader.getUint32(2)
		self.id = reader.getUint32(3)
		self.bAllFinish = reader.getBool(4)
		self.level = reader.getUint32(5)
		self.guildId = reader.getUint32(6)
# message Req19053
class Req19053:
	def __init__(self):
		self.protoid = 19053
		self.playerId = 0
		self.guildId = 0
		self.id = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.guildId, 2)
		writer.setUint32(self.id, 3)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.guildId = reader.getUint32(2)
		self.id = reader.getUint32(3)
# message Resp19053
class Resp19053:
	def __init__(self):
		self.protoid = 19053
		self.playerId = 0
		self.status = 0

	def Marshal(writer):
		writer.setUint32(self.playerId, 1)
		writer.setUint32(self.status, 2)

	def Unmarshal( reader):
		self.playerId = reader.getUint32(1)
		self.status = reader.getUint32(2)
